#include <iostream>
#include "yield_curve.h"

int main()
{
	YieldCurve yc;
	yc.ReadSwapFile("input.txt");

	cout << "spot rate is: " << yc.SpotRate(1.3) << endl;
}
